﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using Telerik.WinControls;

namespace libInventory.FORMS
{
    public partial class frmCommonTransaction : Telerik.WinControls.UI.RadForm
    {
        public frmCommonTransaction()
        {
            InitializeComponent();
        }

        private void btnCancel_Click(object sender, EventArgs e)
        {
            DialogResult = DialogResult.Cancel; 
        }

        private void btnOK_Click(object sender, EventArgs e)
        {
            DialogResult = DialogResult.OK;
        }

        private void btnApply_Click(object sender, EventArgs e)
        {

        }

        private void frmCommonTransaction_Load(object sender, EventArgs e)
        {

        }

        public string set_PortOfDestination
        {
            set
            {
                txtPortOfDestination.Text = value; 
            }
        }

        public string set_PortOfOrigin
        {
            set
            {
                txtPortOfOrigin.Text = value; 
            }
        }

        public string set_ShipperCompanyID
        {
            set
            {
                txtShipperID.Text = value;
            }
        }

        public string set_ConsigneeCompanyID
        {
            set
            {
                txtConsigneeID.Text = value; 
            }
        }

        public string set_ShipperCompanyName
        {
            set
            {
                txtShipperName.Text = value; 
            }
        }

        public string set_ConsingeeCompanyName
        {
            set
            {
                txtConsigneeName.Text = value; 
            }
        }
    }
}
